import request from '@/utils/request'

// 评论列表
export function commentList(data) {
    return request({
        url: '/mall/comment/list',
        method: 'post',
        data: data
    })
}

// 评论总数
export function commentCount(data) {
    return request({
        url: '/mall/comment/count',
        method: 'post',
        data: data
    })
}

// 发表评论
export function commentPost(data) {
    return request({
        url: '/mall/comment/post',
        method: 'post',
        data: data
    })
}
